﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyVoteMVC.Data;
using MyVoteMVC.Domain;
using MyVoteMVC.Common;
using MyVoteMVC.Common.Objects;
using MyVoteMVC.Data.Repositories;

namespace MyVoteMVC.Service
{
    public interface IQuestionService : IDisposable
    {
        //增加
        bool CreateQuestion(string activityID, string questionTitle, string questionContent, int IfMustAnswer,int IfMultiItems, string userEmailName,int mCount);

        //编辑
        bool EditQuestion(string activityID, string questionID, string questionTitle, string questionContent, int IfMustAnswer, int IfMultiItems, int questionStatus,string userEmailName,int mCount);

        //删除
        bool DeleteQuestion(string activityID, string questionID);

        IList<VT_Questions> GetQuestions(string activityID);

        VT_Questions GetQuestion(string questionID);

        //返回是否属于二次活动
        bool GetQuestionLastActivites(string questionID);
    }
}
